const runtime.heapArenaBytes
25 uses
runtime (current package)
arena.go#L193: userArenaChunkBytes = uintptr(int64(userArenaChunkBytesMax-heapArenaBytes)&(int64(userArenaChunkBytesMax-heapArenaBytes)>>63) + heapArenaBytes) // min(userArenaChunkBytesMax, heapArenaBytes)
arena.go#L212: if userArenaChunkBytes < heapArenaBytes {
arena.go#L213: if heapArenaBytes%userArenaChunkBytes != 0 {
arena.go#L217: if userArenaChunkBytes%heapArenaBytes != 0 {
heapdump.go#L538: if base+heapArenaBytes > arenaEnd {
heapdump.go#L539: arenaEnd = base + heapArenaBytes
malloc.go#L252: heapArenaBytes = 1 << logHeapArenaBytes
malloc.go#L254: heapArenaWords = heapArenaBytes / goarch.PtrSize
malloc.go#L264: pagesPerArena = heapArenaBytes / pageSize
malloc.go#L582: randHeapBase = alignUp(randHeapBase, heapArenaBytes)
malloc.go#L693: p = alignUp(p+(256<<10), heapArenaBytes)
malloc.go#L702: a, size := sysReserveAligned(unsafe.Pointer(p), arenaSize, heapArenaBytes, "heap reservation")
malloc.go#L744: n = alignUp(n, heapArenaBytes)
malloc.go#L752: v = h.arena.alloc(n, heapArenaBytes, &gcController.heapReleased, "heap")
malloc.go#L809: v, size = sysReserveAligned(nil, n, heapArenaBytes, "heap")
malloc.go#L842: if uintptr(v)&(heapArenaBytes-1) != 0 {
mcheckmark.go#L28: b [heapArenaBytes / goarch.PtrSize / 8]uint8
mcheckmark.go#L114: wordIdx := (obj - alignDown(obj, heapArenaBytes)) / goarch.PtrSize
mheap.go#L616: return arenaIdx((p - arenaBaseOffset) / heapArenaBytes)
mheap.go#L622: return uintptr(i)*heapArenaBytes + arenaBaseOffset
mheap.go#L1078: arenaBase := base % heapArenaBytes
mheap.go#L1098: if arenaLimit > heapArenaBytes {
mheap.go#L1099: arenaLimit = heapArenaBytes
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |